package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 通知管理对象 notice
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class Notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知表主键 */
    private Long id;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String noticeInfo;

    /** 通知内容的连接 */
    @Excel(name = "通知内容的连接")
    private String noticeUrl;

    /** 发送日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNoticeInfo(String noticeInfo) 
    {
        this.noticeInfo = noticeInfo;
    }

    public String getNoticeInfo() 
    {
        return noticeInfo;
    }
    public void setNoticeUrl(String noticeUrl) 
    {
        this.noticeUrl = noticeUrl;
    }

    public String getNoticeUrl() 
    {
        return noticeUrl;
    }
    public void setUpTime(Date upTime) 
    {
        this.upTime = upTime;
    }

    public Date getUpTime() 
    {
        return upTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("noticeInfo", getNoticeInfo())
            .append("noticeUrl", getNoticeUrl())
            .append("upTime", getUpTime())
            .toString();
    }
}
